
<h1>Manage your feeds</h1>
<h2>Daily News</h2>
<div class='config_form'>
<?php
$this->changeNewnitsForm->setAction($this->url());
echo $this->changeNewnitsForm;
?>
</div>
<h2>Feeds</h2>
<div class='config_form'>
<?php
$this->addForm->setAction($this->url());
echo $this->addForm;
?>
</div>
<div id='import_form'>
<p class="padded">If you already use a Feed Reader that supports <a
	href="http://en.wikipedia.org/wiki/OPML">OPML</a> files (like <a
	href="http://www.google.com/reader">Google Reader</a> ), you can export
your feeds from this reader and import them here.</p>
<?php
$this->importForm->setAction($this->url());
echo $this->importForm;
?>
</div>
<!--</div>-->
<h2>Your current feeds:</h2>
<div id='feed_list'>
<?php
$empty = true;
foreach ($this->feeds as $feed)
{
    //var_dump($feed);
    echo '<hr /><p><span style="float: right;"><a href="?remove=' . $feed['feed_id'] .
             '">Remove</a></span><strong>' .
             $feed['title'] .
             '</strong><span style="display: block;">' .
             $feed['url'] .
             '</span></p>';
$empty = false;
}
if ($empty)
echo '<p><em>You have currently no feeds.</em></p>';
?>

</div>

<h2>Reset all learning</h2>
<div>
<p>If you want to reset all learning the application has done, you can
do it here. In fact, this means that any new articles will be placed at
the same rank. This do not remove the feeds, however.</p>
<p><strong>Warning:</strong> this operation can not be cancelled!</p>
<?php
$this->resetAllForm->setAction($this->url());
echo $this->resetAllForm;
?>
</div>
<hr />



